package com.cy.sca.api.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(value = "sca-notice",contextId = "remoteNoticeService")
public interface RemoteNoticeService {
    @PostMapping("/notice/sms/send")
    void sendMsg(@RequestBody Map<String,Object> msg);
    @PostMapping("/notice/log/record")
    void doLoginInfo(Map<String,Object> log);
}
